while statement - definizione. Che cos'è while statement
Diclib.com
Dizionario ChatGPT
Inserisci una parola o una frase in qualsiasi lingua 👆
Lingua:

Traduzione e analisi delle parole tramite l'intelligenza artificiale ChatGPT

In questa pagina puoi ottenere un'analisi dettagliata di una parola o frase, prodotta utilizzando la migliore tecnologia di intelligenza artificiale fino ad oggi:

  • come viene usata la parola
  • frequenza di utilizzo
  • è usato più spesso nel discorso orale o scritto
  • opzioni di traduzione delle parole
  • esempi di utilizzo (varie frasi con traduzione)
  • etimologia

Cosa (chi) è while statement - definizione

LOOP FLOW CONTROL CONSTRUCT IN PROGRAMMING
Do-while loop; Do while; Do-while; Repeat until loop; Do...while loop; Do statement; Do-statement
  • Do While loop flow diagram

Statement (computer science)         
SMALLEST STANDALONE ELEMENT OF AN IMPERATIVE PROGRAMMING LANGUAGE THAT EXPRESSES SOME ACTION TO BE CARRIED OUT
Program statement; Statement (programming); Statement (computer programming); With statement
In computer programming, a statement is a syntactic unit of an imperative programming language that expresses some action to be carried out. A program written in such a language is formed by a sequence of one or more statements.
Track while scan         
RADAR MODE
Track-while-scan; Track While Scan; Track-While-Scan; Track-while-scan mode; Track while Scan; Search and track
The track while scan (TWS) is a mode of radar operation in which the radar allocates part of its power to tracking the target or targets while part of its power is allocated to scanning, unlike the straight tracking mode, when the radar directs all its power to tracking the acquired targets. In the TWS mode the radar has a possibility to acquire additional targets as well as providing an overall view of the airspace and helping maintain better situational awareness.
Positive statement         
CONCERNS WHAT "IS", "WAS", OR "WILL BE", AND CONTAINS NO INDICATION OF APPROVAL OR DISAPPROVAL (WHAT SHOULD BE)
Descriptive Statement
In the social sciences and philosophy, a positive or descriptive statement concerns what "is", "was", or "will be", and contains no indication of approval or disapproval (what should be). Positive statements are thus the opposite of normative statements.

Wikipedia

Do while loop

In most computer programming languages a do while loop is a control flow statement that executes a block of code and then either repeats the block or exits the loop depending on a given boolean condition.

The do while construct consists of a process symbol and a condition. First the code within the block is executed. Then the condition is evaluated. If the condition is true the code within the block is executed again. This repeats until the condition becomes false.

Do while loops check the condition after the block of code is executed. This control structure can be known as a post-test loop. This means the do-while loop is an exit-condition loop. However a while loop will test the condition before the code within the block is executed.

This means that the code is always executed first and then the expression or test condition is evaluated. This process is repeated as long as the expression evaluates to true. If the expression is false the loop terminates. A while loop sets the truth of a statement as a necessary condition for the code's execution. A do-while loop provides for the action's ongoing execution until the condition is no longer true.

It is possible and sometimes desirable for the condition to always evaluate to be true. This creates an infinite loop. When an infinite loop is created intentionally there is usually another control structure that allows termination of the loop. For example a break statement would allow termination of an infinite loop.

Some languages may use a different naming convention for this type of loop. For example, the Pascal and Lua languages have a "repeat until" loop, which continues to run until the control expression is true and then terminates. In contrast a "while" loop runs while the control expression is true and terminates once the expression becomes false.